import http from '../utils/http.js'

export const getRankList = () => {
  return http.get(`/ranking/getRankList`)
}

export const getRanking = (syntheticType) => {
  return http.get(`/works/getRanking/${syntheticType}`)
}

export const getThreeRanking = () => {
  return http.get(`/works/getThreeRanking`)
}

export const getMonkeyRanking = () => {
  return http.get(`/works/getMonkeyRanking`)
}

export const getThreeKingdomsRank = (rankType) => {
  return http.get(`/works/getThreeKingdomsRank/${rankType}`)
}
